<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>vue 2.7.14 hello world</title>
    <!-- 开发环境版本，包含了有帮助的命令行警告 -->
    <!--<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>-->

    <!-- 生产环境版本，优化了尺寸和速度 -->
    <!--<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>-->
    <script src="https://unpkg.com/vue@2/dist/vue.js"></script>
</head>

<body>
<div id="app">
    <p v-for="i in 5">{{Math.random()}}</p>
    <p>Vue [{{ver}}]</p>
    {{ message }}
    <br>
    <h3>{{2 ** 3}}</h3>
    <p v-for="i in 5">{{i}}</p>
    <p>Lorem ipsum dolor. {{2*2}}</p>
</div>
<script>
    const app = new Vue({
        el: '#app',
        data: {
            message: 'Hello Vue!',
            ver: Vue.version,
        }
    })
</script>
</body>
</html>
